import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '../components/geren/index.vue'
// 名品详情
import ProductDetails from '../components/public/product/product_details.vue'
// 积分专区
import IntegralmMain from '../components/public/integral/integralmain.vue'
// 积分详情
import IntegralDetails from '../components/public/integral/integraldetails.vue'
// 精品展示
import BoutiqueMain from '../components/public/Boutique/boutiquemain.vue'
// 精品列表
import BoutiqueDetails from '../components/public/Boutique/boutiquedetails.vue'
// 确定订单
import OrderForm from '../components/public/orderform/index.vue'
// 促销详情
import CuxiaoDetails from '../components/public/cuxiao/details.vue'
// 升级确定
import Cuxiaodetermine from '../components/public/cuxiao/determine.vue'
//账号管理
import GerenAccount from '../components/public/account/index.vue'
//修改头像
import GerenPortrait from '../components/public/account/portrait.vue'
//修改昵称
import GerenNickname from '../components/public/account/nickname.vue'
//实名验证
import GerenRealname from '../components/public/account/realname.vue'
//收货地址
import GerenAddress from '../components/public/account/address.vue'
//添加收货地址
import GerenAddressadd from '../components/public/account/addressadd.vue'
//编辑收货地址
import GerenAddressxiugai from '../components/public/account/addressxiugai.vue'

//我的钱包
import GerenWallet from '../components/public/wallet/index.vue'
//充值
import GerenRecharge from '../components/public/wallet/recharge.vue'
//充值明细
import GerenRechargedetail from '../components/public/wallet/rechargedetail.vue'
// 积分明细
import GerenJifen from '../components/public/wallet/jifen.vue'
// 余额提现
import GerenTixain from '../components/public/wallet/tixain.vue'
// 提现明显
import GerenTixianmain from '../components/public/wallet/tixianmain.vue'


// 我的订单
import GerenOrder from '../components/public/Order/index.vue'
// 我的历史升级记录
import GerenUpgraderecord from '../components/public/Upgraderecord/index.vue'
// 我的合并订单记录
import GerenmergeOrder from '../components/public/mergeOrder/index.vue'
// 我的积分订单
import GerenIntegralorder from '../components/public/Integralorder/index.vue'
// 我的代金卷
import GerenVoucher from '../components/public/Voucher/index.vue'
// 活动说明
import GerenExplain from '../components/public/Explain/index.vue'
// 订单详情
import OrderDetails from '../components/public/Orderdetails/index.vue'
// 提货
import OrderoDjects from '../components/public/Orderdetails/objects.vue'
//合并订单
import OrderoHebing from '../components/public/Orderdetails/hebingorder.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
	    path: '/',
	    name: 'HelloWorld',
	    component: HelloWorld
    },
	{
	    path: '/productdetails',
	    name:'productdetails',
	    component: ProductDetails
	},
	{
	    path: '/integralmain',
	    name:'integralmain',
	    component: IntegralmMain
	},
	{
	    path: '/integraldetails',
	    name:'integraldetails',
	    component: IntegralDetails
	},
	{
	    path: '/boutiquemain',
	    name:'boutiquemain',
	    component: BoutiqueMain
	},
	{
	    path: '/boutiquedetails',
	    name:'boutiquedetails',
	    component: BoutiqueDetails
	},
	{
	    path: '/orderform',
	    name:'orderform',
	    component: OrderForm
	},
	{
	    path: '/cuxiaodetails',
	    name:'cuxiaodetails',
	    component: CuxiaoDetails
	},
	{
	    path: '/cuxiaodetermine',
	    name:'cuxiaodetermine',
	    component: Cuxiaodetermine
	},
	{
	    path: '/gerenaccount',
	    name:'gerenaccount',
	    component: GerenAccount
	},
	{
	    path: '/gerenwallet',
	    name:'gerenwallet',
	    component: GerenWallet
	},
	{
	    path: '/gerenportrait',
	    name:'gerenportrait',
	    component: GerenPortrait
	},
	{
	    path: '/gerennickname',
	    name:'gerennickname',
	    component: GerenNickname
	},
	{
	    path: '/gerenrealname',
	    name:'gerenrealname',
	    component: GerenRealname
	},
	{
	    path: '/gerenaddress',
	    name:'gerenaddress',
	    component: GerenAddress
	},
	{
	    path: '/gerenaddressadd',
	    name:'gerenaddressadd',
	    component: GerenAddressadd
	},
	{
	    path: '/gerenaddressxiugai',
	    name:'gerenaddressxiugai',
	    component: GerenAddressxiugai
	},
	{
	    path: '/gerenrecharge',
	    name:'gerenrecharge',
	    component: GerenRecharge
	},
	{
	    path: '/gerenrechargedetail',
	    name:'gerenrechargedetail',
	    component: GerenRechargedetail
	},
	{
	    path: '/gerenjifen',
	    name:'gerenjifen',
	    component: GerenJifen
	},
	{
	    path: '/gerentixain',
	    name:'gerentixain',
	    component: GerenTixain
	},
	{
	    path: '/gerentixianmain',
	    name:'gerentixianmain',
	    component: GerenTixianmain
	},
	{
	    path: '/gerenorder',
	    name:'gerenorder',
	    component: GerenOrder
	},
	{
	    path: '/gerenupgraderecord',
	    name:'gerenupgraderecord',
	    component: GerenUpgraderecord
	},
	{
	    path: '/gerenmergeorder',
	    name:'gerenmergeorder',
	    component: GerenmergeOrder
	},
	{
	    path: '/gerenintegralorder',
	    name:'gerenintegralorder',
	    component: GerenIntegralorder
	},
	{
	    path: '/gerenvoucher',
	    name:'gerenvoucher',
	    component: GerenVoucher
	},
	{
	    path: '/gerenexplain',
	    name:'gerenexplain',
	    component: GerenExplain
	},
	{
	    path: '/orderdetails',
	    name:'orderdetails',
	    component: OrderDetails
	},
	{
	    path: '/orderodjects',
	    name:'orderodjects',
	    component: OrderoDjects
	},
	{
	    path: '/orderohebing',
	    name:'orderohebing',
	    component: OrderoHebing
	}
  ]
})
